package com.ruoyi.project.experiment.experimentteacher.service;

import com.ruoyi.project.experiment.experimentteacher.domain.TbTeachArrange;
import com.ruoyi.project.experiment.experimentteacher.mapper.TbTeacherArrangeMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName TbTeacherArrangeServiceImpl
 * @Description TODO
 * @Author lvyongwei
 * @Date
 **/
@Service
public class TbTeacherArrangeServiceImpl implements TbTeacherArrangeService{

    @Autowired
    private TbTeacherArrangeMapper tbTeacherArrangeMapper;

    /**
     * 布置实验给学生
     * @param tbTeachArrange 布置对象 包含日期，教师id,和对应实验id
     * @param ids
     * @return
     */
    @Override
    public int arrange(TbTeachArrange tbTeachArrange, List<String> ids) {
        return tbTeacherArrangeMapper.arrange(tbTeachArrange,ids);
    }
}
